import Vue from 'vue'
import request from '@/itsoftUI/utils/request'
import qs from "qs"
const baseUrl = Vue.prototype.$itsoftUI.config.serviceUrl + "/manager"
//消息api
export const messageCenterApi = {
    // 消息
    CountMessage: function () {
        const data = {};
        return request({
            url: baseUrl + "/systemPersonalWait/countMessage",
            method: "post",
            data: qs.stringify(data)
        });
    },
    // 全部已读
    StatusMessage: function (status, id) {
        const data = {
            status,
            id
        };
        return request({
            url: baseUrl + "/systemPersonalWait/statusMessage",
            method: "post",
            data: qs.stringify(data)
        });
    },

}